﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Ccr.Core.Arbiters;

namespace Ccr
{
    internal class HandlerEntry
    {
        public Behavior Behavior;
        public ReceiverTask Task;

        public HandlerEntry(Behavior behavior, ReceiverTask task)
        {
            this.Behavior = behavior;
            this.Task = task;
        }

        static public ReceiverTask TaskSelector(HandlerEntry listEntry)
        {
            return listEntry.Task;
        }
    }
}
